
package com.borqs.music.executor;

/**
 * TaskListener includes callback methods to update the task execution status.
 */
public interface TaskListener {

    void onStart(Task task);

    void onProgress(Task task, long value, long max);

    void onDone(Task task);

    void onFail(Task task);

    void onCancel(Task task);
}
